const path = require('path')//绝对路径
module.exports = {
  entry: './src/main.js',
  output: {
    filename: 'bundle.js',
    path: path.resolve(__dirname, './bundle')
  }
}